window.nsCons = {
    EVENT_APP_ROUTER_NAVIGATE: 'event_app_router_navigate',
    EVENT_CHAT_MSG_SENDED: 'event_chat_msg_sended',
    EVENT_CHAT_MSG_EDIT_UPLOAD: 'event_chat_msg_edit_upload',
    EVENT_CHAT_SIDEBAR_TOGGLE: 'event_chat_sidebar_toggle',
    EVENT_CHAT_SEARCH_RESULT: 'event_chat_search_result',
    EVENT_CHAT_SEARCH_GOTO_CHAT_ITEM: 'event_chat_search_goto_chat_item',
    EVENT_CHAT_CHANNEL_CREATED: 'event_chat_channel_created',
    EVENT_CHAT_CHANNEL_DELETED: 'event_chat_channel_deleted',
    EVENT_CHAT_CHANNEL_JOINED: 'event_chat_channel_joined',
    EVENT_CHAT_CHANNEL_LEAVED: 'event_chat_channel_leaved',
    EVENT_SHOW_HOTKEYS_MODAL: 'event_show_hotkeys_modal',
    EVENT_CHAT_CHANNEL_MEMBER_ADD_OR_REMOVE: 'event_chat_channel_member_add_or_remove',
    EVENT_CHAT_LAST_ITEM_RENDERED: 'event_chat_last_item_rendered',
    EVENT_CHAT_SHOW_STOW: 'event_chat_show_stow',
    EVENT_CHAT_SHOW_AT: 'event_chat_show_at',
    EVENT_CHAT_SHOW_DIR: 'event_chat_show_dir',
    EVENT_CHAT_SHOW_ATTACH: 'event_chat_show_attach',
    EVENT_CHAT_SHOW_SCHEDULE: 'event_chat_show_schedule',
    EVENT_SCROLLBAR_SCROLL_TO_BOTTOM: 'event_scrollbar_scroll_to_bottom',
    EVENT_CHAT_MSG_INSERT: 'event_chat_msg_insert',
    EVENT_CHAT_MSG_POPUP_SHOW: 'event_chat_msg_popup_show',
    EVENT_CHAT_MEMBER_POPUP_SHOW: 'event_chat_member_popup_show',
    EVENT_CHAT_MSG_WIKI_DIR: 'event_chat_msg_wiki_dir',
    EVENT_CHAT_CONTENT_SCROLL_TO: 'event_chat_content_scroll_to',
    EVENT_CHAT_POLL_UPDATE: 'event_chat_poll_update',
    EVENT_SWITCH_CHAT_TO: 'event_switch_chat_to',
    EVENT_CHANNEL_ACTIONS: 'event_channel_actions',
    EVENT_CHANNEL_LINKS_REFRESH: 'event_channel_links_refresh',
    EVENT_SYSTEM_LINKS_REFRESH: 'event_system_links_refresh',
    EVENT_SCHEDULE_REFRESH: 'event_schedule_refresh',
    EVENT_MODAAL_BEFORE_OPEN: 'event_modaal_before_open',
    EVENT_MODAAL_AFTER_OPEN: 'event_modaal_after_open',
    EVENT_MODAAL_BEFORE_CLOSE: 'event_modaal_before_close',
    EVENT_MODAAL_AFTER_CLOSE: 'event_modaal_after_close',
    EVENT_BLOG_SWITCH: 'event_blog_switch',
    EVENT_BLOG_ACTION: 'event_blog_action',
    EVENT_BLOG_CHANGED: 'event_blog_changed',
    EVENT_SPACE_CHANGED: 'event_space_changed',
    EVENT_BLOG_CREATED: 'event_blog_created',
    EVENT_BLOG_UPDATED: 'event_blog_updated',
    EVENT_BLOG_DELETED: 'event_blog_deleted',
    EVENT_BLOG_TOGGLE_SIDEBAR: 'event_blog_toggle_sidebar',
    EVENT_BLOG_VIEW_CHANGED: 'event_blog_view_changed',
    EVENT_BLOG_STOW_CHANGED: 'event_blog_stow_changed',
    EVENT_BLOG_SAVE: 'event_blog_save',
    EVENT_BLOG_HISTORY_CHANGED: 'event_blog_history_changed',
    EVENT_BLOG_COMMENT_POPUP_SHOW: 'event_blog_comment_popup_show',
    EVENT_BLOG_RIGHT_SIDEBAR_TOGGLE: 'event_blog_right_sidebar_toggle',
    EVENT_BLOG_LEFT_SIDEBAR_TOGGLE: 'event_blog_left_sidebar_toggle',
    EVENT_BLOG_CONTENT_DIMMER_TOGGLE: 'event_blog_content_dimmer_toggle',
    EVENT_BLOG_COMMENT_MSG_INSERT: 'event_blog_comment_msg_insert',
    EVENT_BLOG_COMMENT_ADDED: 'event_blog_comment_added',
    EVENT_BLOG_COMMENT_CHANGED: 'event_blog_comment_changed',
    ACTION_TYPE_SEARCH: 'action_type_search',
    ACTION_TYPE_STOW: 'action_type_stow',
    ACTION_TYPE_AT: 'action_type_at',
    ACTION_TYPE_DIR: 'action_type_dir',
    ACTION_TYPE_ATTACH: 'action_type_attach',
    ACTION_TYPE_SCHEDULE: 'action_type_schedule',
    NUM_TEXT_COMPLETE_MAX_COUNT: 20,
    STR_EMOJI_SEARCH_URL: 'http://emoji.muan.co/',
    KEY_REMEMBER_LAST_CHAT_TO: 'tms/remember_last_chat_to',
    KEY_LOGIN_USERNAME: 'tms/login_username',
    KEY_BLOG_COMMON_SPACE: 'tms/blog/common_space',
}
